package com.facotry.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ------ 天道酬勤 -------
 *
 * @author ChenZihao
 * @date 2024/7/25
 * @desc --- 代码敲烂 月薪过万 ---
 */

@Data
public class ProduceWorkOrder {

    private String workOrderNum;
    private String workState;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date planStartTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date planOverTime;
    private long priority;
    private String produceName;
    private String productCode;
    private String itemType;
    private String produceStyle;
    private long planProduceNum;
    private long producedNum;
    private String workspace;
    private String produceLine;
    private String craft;
    private String currentStep;
    private String produceOrderNum;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;
    private String saleOrderNum;
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date realStartDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date realOverDate;
    private String creater;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private long attr1;
    private long attr2;
    private String attr3;
    private String attr4;





}
